package com.bharat.cm.service;

import org.springframework.transaction.annotation.Transactional;

import com.bharat.cm.dao.ICollegeMasterDao;
import com.bharat.cm.domain.Clas;

public class CollegeMasterService {

	private ICollegeMasterDao collegeMasterDao;
	
	
	public void setCollegeMasterDao(ICollegeMasterDao collegeMasterDao) {
		this.collegeMasterDao = collegeMasterDao;
	}
	
	public CollegeMasterService() {
	}

	/**
	 * Creates a new Class
	 */
	@Transactional
	public void addClass(Clas clas) {
		collegeMasterDao.addClass(clas);
	}
	
}
